package com.quxing.amazon.service;

import com.github.pagehelper.PageInfo;
import com.quxing.amazon.model.Good;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quxing.amazon.model.dto.GoodQuery;
import com.quxing.amazon.model.vo.GoodVO;

import java.util.List;

/**
 * <p>
 * 亚马逊商品 服务类
 * </p>
 *
 * @author zhb
 * @since 2021-05-09
 */
public interface GoodService extends IService<Good> {

    PageInfo<GoodVO> pageByQuery(GoodQuery goodQuery);

    Integer getLastOneGoodCategory();

    List<Integer> selectCategoryIds();

}
